package com.classtest.DemoExpend.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.classtest.DemoExpend.bean.DbUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository//注解接口,可以实现注入它的实现类
@Mapper
public interface DbUserDao extends BaseMapper<DbUser> {
    public List<DbUser> getUserByMessage(DbUser dbUser);
    public List<DbUser> getPersonalInfo(DbUser dbUser);
    public void updatePersonalInfo(DbUser dbUser);
}
